import store from '../../store.js';

const setTheme = function (param) {
  const el = document.documentElement;
  // const el = document.getElementById('xxx')

  // get css var
  //   let a = getComputedStyle(el).getPropertyValue(`--el-color-primary`);
  //   console.log(a);

  // set css var
  //   el.style.setProperty('--el-color-primary', 'green');
  console.log(store.state.themeType);

  // if (condition) {
  //   import('../css/themes/green.scss');
  // } else {
  // }
};

export default setTheme;
